package com.yidu.hbatsams.service;

import com.github.pagehelper.PageInfo;
import com.yidu.hbatsams.domain.AtsEmpAthlete;
import com.yidu.hbatsams.domain.AtsSchemeAthlete;

import java.util.List;

public interface AtsSchemeAthleteServicefx {
    /**
     *
     * @mbg.generated 2019-10-29
     */
    int deleteByPrimaryKey(Integer saId);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int insert(AtsSchemeAthlete records);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int insertSelective(AtsSchemeAthlete record);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    List<AtsSchemeAthlete> selectByPrimaryKey(Integer saId);
    /**
     * 查询所有
     * @return
     */
    List<AtsSchemeAthlete> findAll(Integer pageSize, Integer pageNum, String schemeType);

    /**
     * 总行数
     * @return
     */
    int count(String schemeType);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int updateByPrimaryKeySelective(AtsSchemeAthlete record);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int updateByPrimaryKey(AtsSchemeAthlete record);

    List<AtsEmpAthlete> findAllselect(String athleteName);
}
